#include "CCinematicThread.h"
//--------------------------------------------------------------------------------------------------
//
//--------------------------------------------------------------------------------------------------
CCinematicThread::CCinematicThread(s32 type , s32 id) : 
m_Type(type),
m_Name(""),
m_Obj(0)
{		
	switch (type )
	{
		case E_THREAD_TYPE_OBJ:
			m_Name = "Object Thread";
		break;
		case E_THREAD_TYPE_BASIC:
			m_Name = "Basic Thread";
		break;
		case E_THREAD_TYPE_CAMERA:
			m_Name = "Camera Thread";
		break;
		case E_THREAD_TYPE_PLAYER:
			m_Name = "Player Thread";
		break;
	}

	m_ThreadCinematics =  new array<CCinematicCommand*>; 
}
//--------------------------------------------------------------------------------------------------
//
//--------------------------------------------------------------------------------------------------
CCinematicThread::~CCinematicThread()
{	
	delete (m_ThreadCinematics);
	m_ThreadCinematics = NULL;
}
//--------------------------------------------------------------------------------------------------
//
//--------------------------------------------------------------------------------------------------